#ifndef SENDFILE_H
#define SENDFILE_H

#include <QWidget>
#include "widget.h"
namespace Ui {
class SendFile;
}

class SendFile : public QWidget
{
    Q_OBJECT

public:
    explicit SendFile(QTcpSocket *s, QString whoSend, QString whoGet, QWidget *parent = nullptr);
    ~SendFile();

private slots:
    void on_btn_choseFile_clicked();

    void on_btn_send_clicked();

private:
    Ui::SendFile *ui;
    QTcpSocket *_socket;
    QString _whoSend;
    QString _whoGet;
};

#endif // SENDFILE_H
